Skip to content

Conversation

@pawosm-arm
Copy link
Contributor

@pawosm-arm pawosm-arm commented Mar 6, 2025

It's a cherry-pick from the LLVM's main branch. Without this commit we cannot build ATfL for Amazon Linux 2023 in our CI. Our release cycle got effectively blocked.

Ongoing upstream attempt: llvm/llvm-project#129566

Downstream issue: #173

The default triple of Amazon Linux on AArch64 is aarch64-amazon-linux, see issue highlighded by LLVM's PR #109263, somewhat serious linker issues are encountered if any other triple is being used.

Unfortunately, this makes XFAIL lines like
XFAIL: target=aarch64{{.*}}-linux-gnu ineffective, making it impossible to complete all of the check-cxx on Amazon Linux without failing.

It's a cherry-pick from the main branch.

The default triple of Amazon Linux on AArch64 is aarch64-amazon-linux,
see issue highlighded by PR #109263, somewhat serious linker issues are
encountered if any other triple is being used.

Unfortunately, this makes XFAIL lines like
`XFAIL: target=aarch64{{.*}}-linux-gnu` ineffective, making it
impossible to complete all of the check-cxx on Amazon Linux without
failing.
Copy link
Contributor

@dcandler dcandler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is a downstream change on the branch, it should follow the Downstream Patch Policy: https://github.com/arm/arm-toolchain/blob/arm-software/CONTRIBUTING.md#downstream-patch-policy

@pawosm-arm pawosm-arm changed the title [libc++][test] extend XFAIL clauses to cover Amazon Linux too [Downstream change][libc++][test] extend XFAIL clauses to cover Amazon Linux too Mar 6, 2025
@pawosm-arm
Copy link
Contributor Author

@dcandler I've changed the topic and the comment according to the Requirements for a downstream patch.

Copy link
Contributor

@dcandler dcandler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - the policy does say to annotate the sources as well but I'm not sure how strictly that is going to be enforced on the branch. Having the tracking issue is the primary requirement.

@pawosm-arm pawosm-arm merged commit 100f149 into release/arm-software/20.x Mar 6, 2025
@pawosm-arm pawosm-arm deleted the users/pawosm-arm/release/arm-software/20.x/atfl-xfail-amzn branch March 6, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants